MILKDROP_PRESET_VERSION=201 PSVERSION=2 PSVERSION_WARP=2 PSVERSION_COMP=2 [preset00] fRating=5.000000 fGammaAdj=1.000 fDecay=1.000 fVideoEchoZoom=1.817 fVideoEchoAlpha=0.000 nVideoEchoOrientation=1 nWaveMode=0 bAdditiveWaves=0 bWaveDots=0 bWaveThick=0 bModWaveAlphaByVolume=0 bMaximizeWaveColor=1 bTexWrap=1 bDarkenCenter=0 bRedBlueStereo=0 bBrighten=0 bDarken=0 bSolarize=0 bInvert=0 fWaveAlpha=0.001 fWaveScale=2.988 fWaveSmoothing=0.750 fWaveParam=0.000 fModWaveAlphaStart=0.750 fModWaveAlphaEnd=0.950 fWarpAnimSpeed=1.000 fWarpScale=0.107 fZoomExponent=0.15840 fShader=0.000 zoom=1.00000 rot=0.00000 cx=0.500 cy=0.500 dx=0.00000 dy=0.00000 warp=0.01000 sx=1.00000 sy=1.00000 wave_r=0.500 wave_g=0.500 wave_b=0.500 wave_x=0.500 wave_y=0.500 ob_size=0.000 ob_r=0.000 ob_g=0.000 ob_b=0.000 ob_a=1.000 ib_size=0.000 ib_r=0.000 ib_g=0.000 ib_b=0.000 ib_a=1.000 nMotionVectorsX=0.000 nMotionVectorsY=0.000 mv_dx=0.000 mv_dy=0.000 mv_l=5.000 mv_r=1.000 mv_g=1.000 mv_b=1.000 mv_a=0.000 b1n=0.000 b2n=0.000 b3n=0.000 b1x=1.000 b2x=1.000 b3x=1.000 b1ed=0.250 wavecode_0_enabled=0 wavecode_0_samples=512 wavecode_0_sep=0 wavecode_0_bSpectrum=0 wavecode_0_bUseDots=0 wavecode_0_bDrawThick=0 wavecode_0_bAdditive=0 wavecode_0_scaling=0.12032 wavecode_0_smoothing=0.50000 wavecode_0_r=1.000 wavecode_0_g=1.000 wavecode_0_b=1.000 wavecode_0_a=1.000 wave_0_per_point1=x=.5+(bass*.1)*cos(sample*10)+(0&value2*5)*.2; wave_0_per_point2=y= .5+.1*sin(sample*10)+(0&value1*5)*.2; wave_0_per_point3=r=.5+(bass*.1)*cos(sample*10)+(0&value2*5)*.2; wave_0_per_point4=g = .5+.1*sin(sample*10)+(0&value1*5)*.2; wave_0_per_point5=b = value2; wavecode_1_enabled=0 wavecode_1_samples=512 wavecode_1_sep=0 wavecode_1_bSpectrum=0 wavecode_1_bUseDots=0 wavecode_1_bDrawThick=0 wavecode_1_bAdditive=0 wavecode_1_scaling=1.00000 wavecode_1_smoothing=0.50000 wavecode_1_r=1.000 wavecode_1_g=1.000 wavecode_1_b=1.000 wavecode_1_a=1.000 wavecode_2_enabled=0 wavecode_2_samples=512 wavecode_2_sep=0 wavecode_2_bSpectrum=0 wavecode_2_bUseDots=0 wavecode_2_bDrawThick=0 wavecode_2_bAdditive=0 wavecode_2_scaling=1.00000 wavecode_2_smoothing=0.50000 wavecode_2_r=1.000 wavecode_2_g=1.000 wavecode_2_b=1.000 wavecode_2_a=1.000 wavecode_3_enabled=0 wavecode_3_samples=512 wavecode_3_sep=0 wavecode_3_bSpectrum=0 wavecode_3_bUseDots=0 wavecode_3_bDrawThick=0 wavecode_3_bAdditive=0 wavecode_3_scaling=1.00000 wavecode_3_smoothing=0.50000 wavecode_3_r=1.000 wavecode_3_g=1.000 wavecode_3_b=1.000 wavecode_3_a=1.000 shapecode_0_enabled=0 shapecode_0_sides=4 shapecode_0_additive=0 shapecode_0_thickOutline=0 shapecode_0_textured=0 shapecode_0_num_inst=1 shapecode_0_x=0.500 shapecode_0_y=0.500 shapecode_0_rad=0.10000 shapecode_0_ang=0.00000 shapecode_0_tex_ang=0.00000 shapecode_0_tex_zoom=1.00000 shapecode_0_r=1.000 shapecode_0_g=0.000 shapecode_0_b=0.000 shapecode_0_a=1.000 shapecode_0_r2=0.000 shapecode_0_g2=1.000 shapecode_0_b2=0.000 shapecode_0_a2=0.000 shapecode_0_border_r=1.000 shapecode_0_border_g=1.000 shapecode_0_border_b=1.000 shapecode_0_border_a=0.100 shapecode_1_enabled=0 shapecode_1_sides=4 shapecode_1_additive=0 shapecode_1_thickOutline=0 shapecode_1_textured=0 shapecode_1_num_inst=1 shapecode_1_x=0.500 shapecode_1_y=0.500 shapecode_1_rad=0.10000 shapecode_1_ang=0.00000 shapecode_1_tex_ang=0.00000 shapecode_1_tex_zoom=1.00000 shapecode_1_r=1.000 shapecode_1_g=0.000 shapecode_1_b=0.000 shapecode_1_a=1.000 shapecode_1_r2=0.000 shapecode_1_g2=1.000 shapecode_1_b2=0.000 shapecode_1_a2=0.000 shapecode_1_border_r=1.000 shapecode_1_border_g=1.000 shapecode_1_border_b=1.000 shapecode_1_border_a=0.100 shapecode_2_enabled=0 shapecode_2_sides=4 shapecode_2_additive=0 shapecode_2_thickOutline=0 shapecode_2_textured=0 shapecode_2_num_inst=1 shapecode_2_x=0.500 shapecode_2_y=0.500 shapecode_2_rad=0.10000 shapecode_2_ang=0.00000 shapecode_2_tex_ang=0.00000 shapecode_2_tex_zoom=1.00000 shapecode_2_r=1.000 shapecode_2_g=0.000 shapecode_2_b=0.000 shapecode_2_a=1.000 shapecode_2_r2=0.000 shapecode_2_g2=1.000 shapecode_2_b2=0.000 shapecode_2_a2=0.000 shapecode_2_border_r=1.000 shapecode_2_border_g=1.000 shapecode_2_border_b=1.000 shapecode_2_border_a=0.100 shapecode_3_enabled=0 shapecode_3_sides=4 shapecode_3_additive=0 shapecode_3_thickOutline=0 shapecode_3_textured=0 shapecode_3_num_inst=1 shapecode_3_x=0.500 shapecode_3_y=0.500 shapecode_3_rad=0.10000 shapecode_3_ang=0.00000 shapecode_3_tex_ang=0.00000 shapecode_3_tex_zoom=1.00000 shapecode_3_r=1.000 shapecode_3_g=0.000 shapecode_3_b=0.000 shapecode_3_a=1.000 shapecode_3_r2=0.000 shapecode_3_g2=1.000 shapecode_3_b2=0.000 shapecode_3_a2=0.000 shapecode_3_border_r=1.000 shapecode_3_border_g=1.000 shapecode_3_border_b=1.000 shapecode_3_border_a=0.100 per_frame_1=warp=0; per_frame_2= per_frame_3=volume = 0.3*(bass+mid); per_frame_4=beatrate = equal(beatrate,0) + (1-equal(beatrate,0))*(below(volume,0.01) + (1-below(volume,0.01))*beatrate); per_frame_5=lastbeat = lastbeat + equal(lastbeat,0)*time; per_frame_6=meanbass_att = 0.1*(meanbass_att*9 + bass_att); per_frame_7=peakbass_att = max(bass_att,peakbass_att); per_frame_8=beat = above(volume,0.8)*below(peakbass_att - bass_att, 0.05*peakbass_att)*above(time - lastbeat, 0.1 + 0.5*(beatrate - 0.1)); per_frame_9=beatrate = max(if(beat,if(below(time-lastbeat,2*beatrate),0.1*(beatrate*9 + time - lastbeat),beatrate),beatrate),0.1); per_frame_10=peakbass_att = beat*bass_att + (1-beat)*peakbass_att*(above(time - lastbeat, 2*beatrate)*0.99 + (1-above(time - lastbeat, 2*beatrate))*0.998); per_frame_11=lastbeat = beat*time + (1-beat)*lastbeat; per_frame_12=peakbass_att = max(peakbass_att,1.1*meanbass_att); per_frame_13=dx = if(beat,1-2*int(rand(2)),0); per_frame_14=ob_a = if(beat,0,0.65); per_frame_15=mv_a = if(beat,1,0.05); per_frame_16= per_frame_17=//zoom = 0.99; per_frame_18=ib_r = sin(time*1.25*4)*0.3+0.7; per_frame_19=ib_g = sin(time*4)*0.3+0.3; per_frame_20=ib_b = sin(time/3*4)*0.5+0.5; per_frame_21=wave_r = 1- ib_r; per_frame_22=wave_g = 1- ib_g; per_frame_23=wave_b = 1- ib_b; per_frame_24=//wave_mystery = -1+bass/2; per_frame_25=wave_x = 0.5+sin(time*3)*0.3; per_frame_26=wave_y = 0.5+cos(time*2.187)*0.3; per_frame_27=//pogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogo per_frame_28=r = 0.06+ max(bass_att,treb_att)*0.015; per_frame_29=bounce = below(y1,r);y1 = y1+vy1;vy1 = if(bounce, abs(vy1)*0.94 + (r-y1)*0.1, vy1-0.0001*60/fps); per_frame_30=bounce = below(x1,r);x1 = x1+vx1;vx1 = if(bounce, abs(vx1)*0.94 + (r-x1)*0.1, vx1); per_frame_31=bounce = above(x1,1-r);vx1 = if(bounce, - abs(vx1)*0.94 + (1-r-x1)*0.04, vx1); per_frame_32=bounce = below(y2,r);y2 = y2 + vy2;vy2 = if(bounce,abs(vy2)*0.94+(r-y2)*.1, vy2-0.0001*60/fps); per_frame_33=bounce = below(x2,r);x2 = x2+ vx2;vx2 = if(bounce, abs(vx2)*0.94 + (r-x2)*0.1, vx2); per_frame_34=bounce = above(x2,1-r);vx2 = if(bounce, - abs(vx2)*0.94 + (1-r-x2)*0.1, vx2); per_frame_35=bounce = below(y3,r);y3 = y3 + vy3;vy3 = if(bounce,abs(vy3)*0.94+(r-y3)*.1, vy3-0.0001*60/fps); per_frame_36=bounce = below(x3,r);x3 = x3+ vx3;vx3 = if(bounce, abs(vx3)*0.94 + (r-x3)*0.1, vx3); per_frame_37=bounce = above(x3,1-r);vx3 = if(bounce, - abs(vx3)*0.94 + (1-r-x3)*0.1, vx3); per_frame_38=bounce = below(y4,r);y4 = y4 + vy4;vy4 = if(bounce,abs(vy4)*0.94+(r-y4)*.1, vy4-0.0001*60/fps); per_frame_39=bounce = below(x4,r);x4 = x4+ vx4;vx4 = if(bounce, abs(vx4)*0.94 + (r-x4)*0.1, vx4); per_frame_40=bounce = above(x4,1-r);vx4 = if(bounce, - abs(vx4)*0.94 + (1-r-x4)*0.1, vx4); per_frame_41=bounce = below( sqrt( sqr(x1+vx1-x2-vx2) + sqr(y1+vy1-y2-vy2)), 2*r); per_frame_42=ref_ang = atan2(x2-x1,y2-y1)+asin(1); // common tangent per_frame_43=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx2*vx2+vy2*vy2);w1 = atan2(vx1,vy1);w2 = atan2(vx2,vy2); per_frame_44=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1); per_frame_45=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1); per_frame_46=vx2 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx2); per_frame_47=vy2 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy2); per_frame_48=bounce = below( sqrt( sqr(x1+vx1-x3-vx3) + sqr(y1+vy1-y3-vy3)), 2*r); per_frame_49=ref_ang = atan2(x3-x1,y3-y1)+asin(1); // common tangent per_frame_50=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx3*vx3+vy3*vy3);w1 = atan2(vx1,vy1);w2 = atan2(vx3,vy3); per_frame_51=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1); per_frame_52=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1); per_frame_53=vx3 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx3); per_frame_54=vy3 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy3); per_frame_55=bounce = below( sqrt( sqr(x2+vx2-x3-vx3) + sqr(y2+vy2-y3-vy3)), 2*r); per_frame_56=ref_ang = atan2(x3-x2,y3-y2)+asin(1); // common tangent per_frame_57=v1 = sqrt(vx2*vx2+vy2*vy2);v2 = sqrt(vx3*vx3+vy3*vy3);w1 = atan2(vx2,vy2);w2 = atan2(vx3,vy3); per_frame_58=vx2 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx2); per_frame_59=vy2 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy2); per_frame_60=vx3 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx3); per_frame_61=vy3 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy3); per_frame_62=bounce = below( sqrt( sqr(x1+vx1-x4-vx4) + sqr(y1+vy1-y4-vy4)), 2*r); per_frame_63=ref_ang = atan2(x4-x1,y4-y1)+asin(1); // common tangent per_frame_64=v1 = sqrt(vx1*vx1+vy1*vy1);v2 = sqrt(vx4*vx4+vy4*vy4);w1 = atan2(vx1,vy1);w2 = atan2(vx4,vy4); per_frame_65=vx1 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx1); per_frame_66=vy1 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy1); per_frame_67=vx4 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx4); per_frame_68=vy4 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy4); per_frame_69=bounce = below( sqrt( sqr(x2+vx2-x4-vx4) + sqr(y2+vy2-y4-vy4)), 2*r); per_frame_70=ref_ang = atan2(x4-x2,y4-y2)+asin(1); // common tangent per_frame_71=v1 = sqrt(vx2*vx2+vy2*vy2);v2 = sqrt(vx4*vx4+vy4*vy4);w1 = atan2(vx2,vy2);w2 = atan2(vx4,vy4); per_frame_72=vx2 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx2); per_frame_73=vy2 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy2); per_frame_74=vx4 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx4); per_frame_75=vy4 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy4); per_frame_76=bounce = below( sqrt( sqr(x3+vx3-x4-vx4) + sqr(y3+vy3-y4-vy4)), 2*r); per_frame_77=ref_ang = atan2(x4-x3,y4-y3)+asin(1); // common tangent per_frame_78=v1 = sqrt(vx3*vx3+vy3*vy3);v2 = sqrt(vx4*vx4+vy4*vy4);w1 = atan2(vx3,vy3);w2 = atan2(vx4,vy4); per_frame_79=vx3 = if(bounce,sin(ref_ang)*v1*cos(w1-ref_ang) + sin(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vx3); per_frame_80=vy3 = if(bounce,cos(ref_ang)*v1*cos(w1-ref_ang) + cos(ref_ang+asin(1))*v2*cos(w2-ref_ang-asin(1)), vy3); per_frame_81=vx4 = if(bounce,sin(ref_ang)*v2*cos(w2-ref_ang) + sin(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vx4); per_frame_82=vy4 = if(bounce,cos(ref_ang)*v2*cos(w2-ref_ang) + cos(ref_ang+asin(1))*v1*cos(w1-ref_ang-asin(1)), vy4); per_frame_83=//pogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogopogo per_frame_84=q1 = 0.5 - x1; per_frame_85=q2 = -0.5 + y1; per_frame_86=q3 = 0.5 - x2; per_frame_87=q4 = -0.5 + y2; per_frame_88=q5 = 0.5 - x3; per_frame_89=q6 = -0.5 + y3; per_frame_90=q7 = 0.5 - x4; per_frame_91=q8 = -0.5 + y4; per_pixel_1=dy = 0.004 + 0.0005*sin(10*x+0.459*time) + 0.0005*sin(14*x+0.325*time) + 0.0005*sin(1.231*time); warp_1=`sampler sampler_worms; warp_2=`float3 color, mus; warp_3=`float dx,dy; warp_4=`shader_body { warp_5=`float2 uv1 = (uv-.5) * aspect.xy; warp_6=` warp_7=` warp_8=`float2 uv6 = uv1; warp_9=`float z = q29*2*length(uv1)+rand_frame * 64; warp_10=`float2 d = normalize(uv1); warp_11=`float2 rs = clamp(tan(z)*d,-8,8); warp_12=`uv += .004*GetBlur1(uv)*float2 (0,1);//rs/20; warp_13=` warp_14=` warp_15=`uv6 = .4*sin(uv1*18*rand_frame); warp_16=`mus = .051/(length(uv6)); warp_17=`mus *= float3 (1,.8,.5); warp_18=` warp_19=`float3 blur = GetBlur2(frac(uv)); warp_20=` warp_21=`float3 crisp= tex2D(sampler_main,uv); warp_22=` warp_23=`float3 ret1 = crisp - blur*.03 + .15*mus; warp_24=`float2 uv2 = (uv_orig-.5)-float2(.5,.5+0.1*q25); warp_25=` warp_26=`q25 = 1; warp_27=`ret = q25*(ret1*.99-.02) + (1-q25)* GetPixel(uv_orig); warp_28=` warp_29=`} comp_1=`sampler sampler_portal1; comp_2=`float2 factorA, factorB, product; comp_3=`float2 numerator, denominator, fraction; comp_4=`shader_body comp_5=`{ comp_6=`float2 uvo = uv; comp_7=`uv = (uv-0.5); comp_8=`factorA = uv+ float2(q1,q2); comp_9=`factorB = float2(8,0); comp_10=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); comp_11=`float2 uv1 = product; comp_12=`factorA = uv+ float2(q3,q4); comp_13=`factorB = float2(8,0); comp_14=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); comp_15=`float2 uv2 = product; comp_16=`factorA = uv+ float2(q5,q6); comp_17=`factorB = float2(8,0); comp_18=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); comp_19=`float2 uv3 = product; comp_20=`factorA = uv+ float2(q7,q8); comp_21=`factorB = float2(8,0); comp_22=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); comp_23=`float2 uv4 = product; comp_24=`factorA = uv1; comp_25=`factorB = uv2; comp_26=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); comp_27=`float2 uv12 = product; comp_28=`factorA = uv3; comp_29=`factorB = uv4; comp_30=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); comp_31=`float2 uv34 = product; comp_32=`factorA = uv12; comp_33=`factorB = uv34; comp_34=`product = float2( factorA.x*factorB.x - factorA.y*factorB.y, factorA.x*factorB.y + factorA.y*factorB.x); comp_35=`numerator = float2(1,0); comp_36=`denominator = product; comp_37=`fraction = float2( numerator.x*denominator.x + numerator.y*denominator.y, // the fractions real part comp_38=` numerator.y*denominator.x - numerator.x*denominator.y)/ // the fractions imaginary part comp_39=` (denominator.x*denominator.x + denominator.y*denominator.y); comp_40=`uv = fraction.yx*float2(-1,1)*(16); comp_41=`uv = lerp(0.5 + (uvo-0.5)*(2),uv+0.5,0.5); comp_42=` comp_43=`float l = length(uv-0.5); comp_44=`uv = 0.5 + (1.0 - abs( frac( uv * 0.5 ) * 2 - 1.0 )-0.5); // Eo.S. mirror code with cutted borders comp_45=` comp_46=`ret = (tex2D( sampler_fc_main, uv ))*saturate(1.6-l*l*0.2); comp_47=`ret = lerp(tex2d(sampler_portal1,uvo),1,ret); comp_48=`}